package com.jnu.booklist.data;

import java.io.Serializable;

public class Book implements Serializable {
    private String name;
    private int coverResourceId;

    public Book(String name, int coverResourceId) {
        this.name=name;
        this.coverResourceId = coverResourceId;
    }

    public String getName() {
        return name;
    }
    public int getCoverResourceId() {
        return coverResourceId;
    }
    public void setName(String name){
        this.name=name;
    }
    public void setCoverResourceId(int coverResourceId){
        this.coverResourceId=coverResourceId;
    }
}
